let str = 'abcdefg'
console.log(str.slice(1, 3));